/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package babydisco;

import babydisco.GUI.*;

/**
 *
 * @author frans
 */
public class BabyDisco
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                createGui();
            }
        });
    }
    
    /**
     * For the use of the GUI in a separate thread 
     * All of the GUI Code is in the Gui Class
     */
    private static void createGui()
    {
        GUI frame = new GUI("Baby-Disco");
        frame.setSize(1024,555); // Standaard = .setSize(0,0) 
        frame.createGUI();
        frame.setVisible(true); // Standaard = setVisible(false)
    }
}
